package com.mes.biz.domain.vo;

import com.mes.biz.domain.BizProduct;
import com.mes.common.annotation.Excel;
import com.mes.common.utils.log.annotation.FieldRemark;
import com.mes.common.utils.log.annotation.LogField;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author wy
 * @title: ImportProduct
 * @projectName mes
 * @description:
 * @date 2023-07-01 21:43
 */
@Data
public class ImportProduct extends BizProduct {

    @Excel(name = "单位")
    @LogField
    @FieldRemark(name = "单位",field = "unitName")
    private String unitName;
    @Excel(name = "仓位")
    @LogField
    @FieldRemark(name = "仓位",field = "space")
    private String space;
    @LogField
    @FieldRemark(name = "仓位",field = "spaceId")
    private String spaceId;
    @Excel(name = "数量")
    @LogField
    @FieldRemark(name = "数量",field = "number")
    private BigDecimal number;
    @Excel(name = "单价")
    @LogField
    @FieldRemark(name = "单价",field = "unitPrice")
    private BigDecimal unitPrice;
    @Excel(name = "金额")
    @LogField
    @FieldRemark(name = "金额",field = "totalAmount")
    private BigDecimal totalAmount;
    @Excel(name = "备注")
    @LogField
    @FieldRemark(name = "备注",field = "importRemark")
    private String importRemark;
}
